.class Lcom/xingbook/park/activity/af;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/park/ui/y;


# instance fields
.field final synthetic a:Lcom/xingbook/park/activity/LoginAct;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/LoginAct;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/park/activity/af;)Lcom/xingbook/park/activity/LoginAct;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 7

    const/4 v3, 0x0

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    iget-object v1, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/LoginAct;->i(Lcom/xingbook/park/activity/LoginAct;)Lcom/xingbook/ui/XbLayout;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/activity/LoginAct;->setContentView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-static {v0}, Lcom/xingbook/park/activity/LoginAct;->j(Lcom/xingbook/park/activity/LoginAct;)I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-static {v0}, Lcom/xingbook/park/activity/LoginAct;->k(Lcom/xingbook/park/activity/LoginAct;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/LoginAct;->l(Lcom/xingbook/park/activity/LoginAct;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v0}, Landroid/text/Editable;->length()I

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Landroid/text/Editable;->length()I

    move-result v2

    if-nez v2, :cond_2

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    const-string v1, "\u8d26\u53f7\u6216\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a\uff01"

    invoke-static {v0, v1, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :cond_1
    :goto_0
    return-void

    :cond_2
    new-instance v2, Landroid/app/ProgressDialog;

    iget-object v3, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-direct {v2, v3}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v4}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    const-string v3, "\u6b63\u5728\u767b\u5f55..."

    invoke-virtual {v2, v3}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    invoke-virtual {v2}, Landroid/app/ProgressDialog;->show()V

    sget-object v3, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v4, Lcom/xingbook/park/activity/ag;

    invoke-direct {v4, p0, v0, v1, v2}, Lcom/xingbook/park/activity/ag;-><init>(Lcom/xingbook/park/activity/af;Landroid/text/Editable;Landroid/text/Editable;Landroid/app/ProgressDialog;)V

    invoke-interface {v3, v4}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-static {v0}, Lcom/xingbook/park/activity/LoginAct;->f(Lcom/xingbook/park/activity/LoginAct;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    iget-object v1, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/LoginAct;->j(Lcom/xingbook/park/activity/LoginAct;)I

    move-result v1

    iget-object v2, p0, Lcom/xingbook/park/activity/af;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-static {v2}, Lcom/xingbook/park/activity/LoginAct;->f(Lcom/xingbook/park/activity/LoginAct;)Ljava/lang/String;

    move-result-object v2

    move-object v5, v3

    move-object v6, v3

    invoke-static/range {v0 .. v6}, Lcom/xingbook/park/activity/LoginAct;->a(Lcom/xingbook/park/activity/LoginAct;ILjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method
